package com.ezcoding.dao;

import com.ezcoding.model.Trade;
import com.jfinal.plugin.activerecord.Db;

public class TradeDao {
    public static TradeDao dao = new TradeDao();

    public Trade getTrade(String tradeNo) {
        String sql = Db.getSql("Trade.getTradeByTradeNo");

        return Trade.dao.findFirst(sql, tradeNo);
    }
}
